package org.rea.logic;

import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

public class MyRewriter {

	private MyList<String> list = new MyList<String>();
	private BufferedReader buff;

	MyRewriter(String fileName) throws IOException{
		FileReader f = new FileReader(fileName);
		buff = new BufferedReader(f);
		String temp = buff.readLine();
		while(temp != null){
			list.addElement(temp);
			temp = buff.readLine();
		}
		f.close();
	}

	public void rewrite(MyWriter writer){
		writer.write;
	}
	

}

